package com.example.a2007dou_shop.entity

import com.chad.library.adapter.base.entity.MultiItemEntity

data class VideoEntityResult(
    val code: Int,
    val `data`: Data,
    val msg: String
)

data class Data(
    val countId: Any,
    val current: Int,
    val maxLimit: Any,
    val optimizeCountSql: Boolean,
    val orders: List<Any>,
    val pages: Int,
    val records: List<VideoEntity>,
    val searchCount: Boolean,
    val size: Int,
    val total: Int
)
/**多布局需要集成MutliItemEntity**/
data class VideoEntity(
    val createTime: String,
    val flag: Int,
    val id: Int,
    val imgurl: String,
    val info: String,
    val looks: Int,
    val suid: Int,
    val title: String,
    var type: Int,
    val videourl: String
): MultiItemEntity{
    override val itemType: Int
        get() = type
}